﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.DataBasic.Domain.RBAC
{
    /// <summary>
    /// 角色表
    /// </summary>
    //public class Role
    //{
    //    [Key]
    //    public int RoleId { get; set; }

    //    public string RoleName { get; set; } = string.Empty;

    //    public bool IsDeleted { get; set; } = false;
    //}

    public class Role
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public ICollection<Permission> Permissions { get; set; }
        public ICollection<User> Users { get; set; }
    }
}
